@import (reference) '~@/assets/css/variables';


.table_bar {
  margin: 24px 0 0;

  .item_col {
    padding: 0 10px;
    margin-bottom: 16px;
  }

  .item_col_no_padding.item_col {
    padding: 0 10px 0 0;
  }

  .item_col:not(.item_col_no_padding):nth-child(3n + 1) {
    padding-left: 0;
  }

  .item_col:not(.item_col_no_padding):nth-child(3n) {
    padding-right: 0;
  }
}


.operate_item_flex{
  display: flex;
  flex-direction: row;
  align-items: center;
  .label {
    display: inline-block;
    width: 80px;
    margin-right: 14px;
    color: @gray-600;
    text-align: right;

    &.large_label {
      width: 100px
    }

    &.label_fill {
      width: auto;
    }
  }

  .cont {
    display: inline-block;
    width: calc(100% - 94px);

    &.large_cont {
      width: calc(100% - 114px);
    }

    &.cont_fill {
      width: auto;
      flex: 1;
    }

    > div,
    > span {
      width: 100%;
      border-color: @gray-300 !important;

      > div {
        border-color: @gray-300 !important;
      }
    }

    &.fill {
      width: 100%;
    }
  }
}
.operate_item {
  text-align: right;

  .label {
    display: inline-block;
    width: 80px;
    margin-right: 14px;
    color: @gray-600;
    text-align: right;

    &.large_label {
      width: 100px
    }

    &.label_fill {
      width: auto;
    }
  }

  .cont {
    display: inline-block;
    width: calc(100% - 94px);

    &.large_cont {
      width: calc(100% - 114px);
    }

    &.cont_fill {
      width: auto;
      flex: 1;
    }

    > div,
    > span {
      width: 100%;
      border-color: @gray-300 !important;

      > div {
        border-color: @gray-300 !important;
      }
    }

    &.fill {
      width: 100%;
    }
  }

  .btn_wrap {
    display: inline-block;
    width: 100%;
    text-align: right;

    > button + button {
      margin-left: 10px;
    }

    .toggle_btn {
      display: inline-block;
      margin-right: 16px;
      margin-left: 16px;
      color: @primary;
      cursor: pointer;
    }

    :global {
      .icon-more {
        margin-left: 14px;
        color: @primary-sub-700;
        cursor: pointer;
      }
    }
  }

  :global {
    .toggle_btn {
      margin-left: 16px;
      color: @primary-sub-700;
      cursor: pointer;
    }

    // 受父级text-align属性影响，重置.ant-select-selector里的属性
    .ant-select:not(.ant-select-customize-input) .ant-select-selector {
      text-align: left;
    }
  }
}

.dropdown_sty {
  :global {
    .ant-dropdown-menu {
      .ant-dropdown-menu-item {
        color: @primary-sub-700;

        &:hover {
          background: @primary-sub-100;
        }
      }
    }
  }
}
